package com.zoro.barn.business.service.system.business.teamuser.dao;

import com.zoro.barn.commons.db.annotations.MybatisMapper;
import com.zoro.barn.business.service.system.business.teamuser.entity.BarnTeamUser;

import java.util.List;

/**
 * @author zhaoxingwu
 */
@MybatisMapper
public interface BarnTeamUserMapper {

    void add(BarnTeamUser teamUser);

    void delete(String teamId, String userId);

    int hasUser(String teamId, String userId);

    List<BarnTeamUser> query(BarnTeamUser teamUser);
}
